﻿<div class="sub_menu_part">
    <div class="wrapper">
        <div class="top_sub_menu">
            @if ((User as Zatify.WebUI.Infrastructure.Absrtact.IZatifyPrincipal).UserRole == Zatify.Domain.Abstract.UserRole.RegularUser)
            {
                <ul>
                    <li><a href="@Url.Action("Search", "UserProfile")">Search</a></li>
                    <li><a href="@Url.Action("Nearby", "UserProfile")">Nearby</a></li>
                    <li><a href="@Url.Action("Favorites", "UserProfile")">Favorites</a></li>
                    <li><a href="@Url.Action("Deals", "UserProfile")">Deals</a></li>
                    @*<li><a href="@Url.Action("Settings", "UserProfile")">Settings</a></li>*@
                    <li><a href="@Url.Action("GeneralInfo", "UserProfile")">My Profile</a></li>
                    <li><a href="@Url.Action("ContactUs", "Contacting")">Contact Us</a></li>
                </ul>
            }
            else if ((User as Zatify.WebUI.Infrastructure.Absrtact.IZatifyPrincipal).UserRole == Zatify.Domain.Abstract.UserRole.BusinessUser)
            {
                <ul>
                    <li><a href="@Url.Action("Address", "BusinessProfile")">Address</a></li>
                    <li><a href="@Url.Action("Description", "BusinessProfile")">Description</a></li>
                    <li><a href="@Url.Action("BusinessHours", "BusinessProfile")">Hours</a></li>
                    <li><a href="@Url.Action("CategoriesEdit", "BusinessProfile")">Categories</a></li>
                    <li><a href="@Url.Action("Payment", "BusinessProfile")">Payment</a></li>
                    <li><a href="@Url.Action("Promotions", "BusinessProfile")">Promotion</a></li>
                    <li><a href="@Url.Action("Add", "BusinessProfile")">Add New Promotion</a></li>
                    <li><a href="@Url.Action("TransactionHistory", "Billing")">Billing</a></li>
                    <li><a href="@Url.Action("ContactUs", "Contacting")">Contact Us</a></li>
                </ul>
            }
        </div>
    </div>
</div>
